package router

import (
	"fx_swift_boss/internal/controller"
	"fx_swift_boss/pkg/middleware"
)

func CommissionRouter() {
	apiVer := miniApiVer.Group("commission", middleware.CheckAuth())
	{
		apiVer.POST("withdrawList", controller.WithdrawList)
		apiVer.POST("operatorWithdraw", controller.OperatorWithdraw)
		apiVer.POST("agentWithdrawList", controller.AgentWithdrawList)
	}
}
